package com.qr.bean.wmyw;

import java.sql.Timestamp;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:22:19
 * 分离出查询实体
 */
@ApiModel(value = "qr_extraction_record", description = "提现记录")
@TableName(value = "qr_extraction_record")
public class QrExtractionRecordView implements Serializable {
	@ApiModelProperty(value = "标识")
	@TableId(type = IdType.AUTO,value = "extraction_id")
	@NotNull(message = "标识不能为空")
	private Integer extraction_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "申请时间")
	@TableField(value="request_time")
	@NotNull(message = "申请时间不能为空")
	private Timestamp request_time;
	@ApiModelProperty(value = "提现方式:银行卡=1 微信=2 支付宝=3")
	@TableField(value="ex_type")
	@NotNull(message = "提现方式不能为空")
	private Integer ex_type;
	@ApiModelProperty(value = "提现金额")
	@TableField(value="amount")
	@NotNull(message = "提现金额不能为空")
	private BigDecimal amount;
	@ApiModelProperty(value = "提现银行")
	@TableField(value="bank_name")
	private String bank_name;
	@ApiModelProperty(value = "提现银行卡")
	@TableField(value="card_no")
	private String card_no;
	@ApiModelProperty(value = "支付宝/微信收款码")
	@TableField(value="online_card")
	private String online_card;
	@ApiModelProperty(value = "手续费")
	@TableField(value="hand_charge")
	private BigDecimal hand_charge;
	@ApiModelProperty(value = "提现状态:提现中=1 财务审=2 出纳审=3 提现完成=4")
	@TableField(value="status")
	@NotNull(message = "提现状态不能为空")
	private Integer status;
	@ApiModelProperty(value = "乐观锁标识")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getExtraction_id() {
		return extraction_id;
	}
	public void setExtraction_id(Integer extraction_id) {
		this.extraction_id = extraction_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Timestamp getRequest_time() {
		return request_time;
	}
	public void setRequest_time(Timestamp request_time) {
		this.request_time = request_time;
	}
 
	public Integer getEx_type() {
		return ex_type;
	}
	public void setEx_type(Integer ex_type) {
		this.ex_type = ex_type;
	}
 
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
 
	public String getBank_name() {
		return bank_name;
	}
	public void setBank_name(String bank_name) {
		this.bank_name = bank_name;
	}
 
	public String getCard_no() {
		return card_no;
	}
	public void setCard_no(String card_no) {
		this.card_no = card_no;
	}
 
	public String getOnline_card() {
		return online_card;
	}
	public void setOnline_card(String online_card) {
		this.online_card = online_card;
	}
 
	public BigDecimal getHand_charge() {
		return hand_charge;
	}
	public void setHand_charge(BigDecimal hand_charge) {
		this.hand_charge = hand_charge;
	}
 
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}